﻿// ===============================================================================
// 作者:吕艳阳
// 日期:2016-12-21 16:09
// 描述:
// 开发框架 版权所有
// ===============================================================================

using System.Collections.Generic;
using DotNet.Edu.Entity;

namespace DotNet.EduWebApi.Models
{
    public class MainModel
    {
        /// <summary>
        /// 学员姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 培训类型
        /// </summary>
        public string WorkCategory { get; set; }

        /// <summary>
        /// 培训类型名称
        /// </summary>
        public string WorkCategoryName { get; set; }

        /// <summary>
        /// 学员状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 学员状态名称
        /// </summary>
        public string StatusName { get; set; }

        /// <summary>
        /// 系统规定学时
        /// </summary>
        public int SystemTotalPeriod { get; set; }

        /// <summary>
        /// 系统规定学时字符串
        /// </summary>
        public string SystemTotalPeriodName { get; set; } = string.Empty;

        /// <summary>
        /// 累计完成学时
        /// </summary>
        public int LearnTotalPeriod { get; set; }

        /// <summary>
        /// 累计完成学时字符串
        /// </summary>
        public string LearnTotalPeriodName { get; set; } = string.Empty;

        /// <summary>
        /// 今日完成学时
        /// </summary>
        public int TodayPeriod { get; set; }

        /// <summary>
        /// 今日完成学时字符串
        /// </summary>
        public string TodayPeriodName { get; set; } = string.Empty;

        /// <summary>
        /// 上次学习时间
        /// </summary>
        public string LastLearnTime { get; set; } = string.Empty;

        /// <summary>
        /// 学习进度
        /// </summary>
        public int Progress { get; set; }

        /// <summary>
        /// 课件列表
        /// </summary>
        public List<StudentCoursewarePeriodView> CoursewareList { get; set; } 
    }
}